<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglibs.jsp"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<meta charset="utf-8">
	<title>呼叫中心座席</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" href="${ctxLayui}/layuiadmin/layui/css/layui.css" media="all">
	<link rel="stylesheet" href="${ctxLayui}/layuiadmin/style/myStyle.css" media="all">
</head>
<body>
<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 10px 0 0;">
	<script id="formTpl" type="text/html">

		<div class="layui-form-item-my" >
			<label class="layui-form-label">中心结点</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.nodeId}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">坐席类型</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.seatTypeStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">通道Id</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.channelId}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">用户Id</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.userId}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">用户姓名</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.userName}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">通道密码</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.password}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">坐席编号</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.seatNo}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">手机号</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.mobile}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">状态;1-正常;2-停用</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.statusStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">运营商</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.operator}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">月费用</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.cost}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">通话分钟</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.callMinuteStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">天线识别号</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.aerialNoStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">SIM卡槽</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.simNoStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">开始时间</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.beginTimeStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">结束时间</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.endTimeStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">工作状态;1-工作中;2-通话中;3-休息中;</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.workStatusStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">创建时间</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.createTimeStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">修改时间</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.modifyTimeStr}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">管理用户ID</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.adminUserId}}</div>
			</div>
		</div>
		<div class="layui-form-item-my" >
			<label class="layui-form-label">备用</label>
			<div class="layui-input-block">
				<div class="layui-form-mid">{{d.remark}}</div>
			</div>
		</div>
	</script>
	<div id="form_view"></div>

</div>

<script src="${ctxLayui}/layuiadmin/layui/layui.js"></script>
<script>
	layui.config({
		base: '${ctxLayui}/layuiadmin/'
	}).extend({
		index: 'lib/index'
	}).use(['index', 'form','dict','laytpl','util'], function(){
		var $ = layui.$ ,form = layui.form;
		var dict = layui.dict;
		var laytpl = layui.laytpl;
		var util = layui.util;
		var formData = window.parent.formData;
		formData.seatTypeStr = formData.seatType?dict.showName("seatType",formData?formData.seatType:1):'';
		formData.statusStr = formData.status?dict.showName("status",formData?formData.status:1):'';
		formData.callMinuteStr = formData.callMinute?dict.showName("callMinute",formData?formData.callMinute:1):'';
		formData.aerialNoStr = formData.aerialNo?dict.showName("aerialNo",formData?formData.aerialNo:1):'';
		formData.simNoStr = formData.simNo?dict.showName("simNo",formData?formData.simNo:1):'';
		formData.beginTimeStr = formData.beginTime?util.toDateString(formData.beginTime):'';
		formData.endTimeStr = formData.endTime?util.toDateString(formData.endTime):'';
		formData.workStatusStr = formData.workStatus?dict.showName("workStatus",formData?formData.workStatus:1):'';
		formData.createTimeStr = formData.createTime?util.toDateString(formData.createTime):'';
		formData.modifyTimeStr = formData.modifyTime?util.toDateString(formData.modifyTime):'';
		var data = formData;
		var getTpl = formTpl.innerHTML,view = document.getElementById('form_view');
		laytpl(getTpl).render(data, function(html){
			view.innerHTML = html;
		});
	})
</script>
</body>
</html>
